package com.woniuxy.personal.core.service.impl;

import com.woniuxy.personal.core.model.PlAddress;
import com.woniuxy.personal.core.mapper.PlAddressMapper;
import com.woniuxy.personal.core.service.PlAddressService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-09
 */
@Service
public class PlAddressServiceImpl extends ServiceImpl<PlAddressMapper, PlAddress> implements PlAddressService {

    @Autowired
    PlAddressMapper plAddressMapper;

    @Override
    public List<PlAddress> selectAll(Integer userId) {
        return plAddressMapper.selectAll(userId);
    }
}
